package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.SysUser;
import com.example.entity.vo.RoleRight;
import com.example.entity.vo.UsrRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2024-09-10
 */
public interface ISysUserService extends IService<SysUser> {
    SysUser searchAllByUsrNameAndUsrPassword( String usrName, String usrPassword);

    UsrRole searchAllByUsrName(String usrName);

    List<RoleRight> selectByUsrRoleIdRoleRight();

    RoleRight selectByUsrRoleIdRole(String usrName,String rightUrl);

    Boolean insertSysUser( String usrName, String usrPassword, String usrEmail, String usrAccount);

}
